package com.lu.core.annotations;

import com.lu.core.support.DataScopePermissionAbstract;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description 系统日志注解
 * @Author: zhanglu
 * @Date: 2022/7/22 11:18
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DataScope {

    String name();

    String groupBy() default "";

    Class<? extends DataScopePermissionAbstract> handler();

}
